using DataDynamics.ActiveReports;
using DDCssLib;
using SS;
using SS.core;
using System;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Resources;
namespace TVSBH.func
{
	public class frmPrescriptionsBill : ActiveReport3
	{
		private PageHeader pageHeader;
		private Detail detail;
		private PageFooter pageFooter;
		private Label lblComName;
		private Label lblComAddress;
		private Label lblComPhone;
		private Label label3;
		private Shape shape1;
		private Label label1;
		private Label label2;
		private Label label4;
		private Label label6;
		private Label label7;
		private Label label8;
		public Label lblProviderName;
		public Label lblAge;
		public Label lblDiagnosis;
		public Label lvlProviderAddress;
		public Label lblVolume;
		private Label label23;
		private Label label24;
		private Label label25;
		private Label label27;
		private Line line2;
		private ReportHeader reportHeader1;
		private ReportFooter reportFooter1;
		private Label lblDayMonthYear;
		private Label label12;
		private Label lblDoctorName;
		private Label label15;
		private Label label16;
		private Label label17;
		private Label label18;
		private TextBox textBox1;
		private TextBox textBox2;
		private TextBox textBox3;
		private TextBox textBox4;
		private TextBox textBox5;
		private Func objFunc = new Func();
		public static DataTable objTable;
		public static DateTime objDateBill;
		private products objProduct = new products();
		public static string Discount = "";
		public static string MoneyByWord = "";
		public static string totalVAT;
		public static string Age;
		public static string Volume;
		public static string Diagnosis;
		public static string DoctorName;
		protected override void Dispose(bool disposing)
		{
			if (disposing)
			{
			}
			base.Dispose(disposing);
		}
		private void InitializeComponent()
		{
			ResourceManager resourceManager = new ResourceManager(typeof(frmPrescriptionsBill));
			this.pageHeader = new PageHeader();
			this.label24 = new Label();
			this.label23 = new Label();
			this.label27 = new Label();
			this.label25 = new Label();
			this.shape1 = new Shape();
			this.lblComName = new Label();
			this.lblComAddress = new Label();
			this.lblComPhone = new Label();
			this.label3 = new Label();
			this.label1 = new Label();
			this.label2 = new Label();
			this.lblProviderName = new Label();
			this.label4 = new Label();
			this.lblVolume = new Label();
			this.label6 = new Label();
			this.lblAge = new Label();
			this.label7 = new Label();
			this.lvlProviderAddress = new Label();
			this.label8 = new Label();
			this.lblDiagnosis = new Label();
			this.detail = new Detail();
			this.line2 = new Line();
			this.pageFooter = new PageFooter();
			this.reportHeader1 = new ReportHeader();
			this.reportFooter1 = new ReportFooter();
			this.lblDayMonthYear = new Label();
			this.label12 = new Label();
			this.lblDoctorName = new Label();
			this.label15 = new Label();
			this.label16 = new Label();
			this.label17 = new Label();
			this.label18 = new Label();
			this.textBox1 = new TextBox();
			this.textBox2 = new TextBox();
			this.textBox3 = new TextBox();
			this.textBox4 = new TextBox();
			this.textBox5 = new TextBox();
			((ISupportInitialize)this.label24).BeginInit();
			((ISupportInitialize)this.label23).BeginInit();
			((ISupportInitialize)this.label27).BeginInit();
			((ISupportInitialize)this.label25).BeginInit();
			((ISupportInitialize)this.lblComName).BeginInit();
			((ISupportInitialize)this.lblComAddress).BeginInit();
			((ISupportInitialize)this.lblComPhone).BeginInit();
			((ISupportInitialize)this.label3).BeginInit();
			((ISupportInitialize)this.label1).BeginInit();
			((ISupportInitialize)this.label2).BeginInit();
			((ISupportInitialize)this.lblProviderName).BeginInit();
			((ISupportInitialize)this.label4).BeginInit();
			((ISupportInitialize)this.lblVolume).BeginInit();
			((ISupportInitialize)this.label6).BeginInit();
			((ISupportInitialize)this.lblAge).BeginInit();
			((ISupportInitialize)this.label7).BeginInit();
			((ISupportInitialize)this.lvlProviderAddress).BeginInit();
			((ISupportInitialize)this.label8).BeginInit();
			((ISupportInitialize)this.lblDiagnosis).BeginInit();
			((ISupportInitialize)this.lblDayMonthYear).BeginInit();
			((ISupportInitialize)this.label12).BeginInit();
			((ISupportInitialize)this.lblDoctorName).BeginInit();
			((ISupportInitialize)this.label15).BeginInit();
			((ISupportInitialize)this.label16).BeginInit();
			((ISupportInitialize)this.label17).BeginInit();
			((ISupportInitialize)this.label18).BeginInit();
			((ISupportInitialize)this.textBox1).BeginInit();
			((ISupportInitialize)this.textBox2).BeginInit();
			((ISupportInitialize)this.textBox3).BeginInit();
			((ISupportInitialize)this.textBox4).BeginInit();
			((ISupportInitialize)this.textBox5).BeginInit();
			((ISupportInitialize)this).BeginInit();
			this.pageHeader.Height = 0f;
			this.pageHeader.Name = "pageHeader";
			this.label24.Border.BottomColor = Color.Black;
			this.label24.Border.BottomStyle = BorderLineStyle.Solid;
			this.label24.Border.LeftColor = Color.Black;
			this.label24.Border.LeftStyle = BorderLineStyle.Solid;
			this.label24.Border.RightColor = Color.Black;
			this.label24.Border.RightStyle = BorderLineStyle.Solid;
			this.label24.Border.TopColor = Color.Black;
			this.label24.Border.TopStyle = BorderLineStyle.Solid;
			this.label24.Height = 0.2244094f;
			this.label24.HyperLink = null;
			this.label24.Left = 0.5935834f;
			this.label24.Name = "label24";
			this.label24.Style = "ddo-char-set: 163; text-align: center; font-weight: bold; background-color: #C0FFFF; font-size: 9pt; font-family: Arial; vertical-align: middle; ";
			this.label24.Text = "TÊN THUỐC";
			this.label24.Top = 2.1875f;
			this.label24.Width = 3.708662f;
			this.label23.Border.BottomColor = Color.Black;
			this.label23.Border.BottomStyle = BorderLineStyle.Solid;
			this.label23.Border.LeftColor = Color.Black;
			this.label23.Border.LeftStyle = BorderLineStyle.Solid;
			this.label23.Border.RightColor = Color.Black;
			this.label23.Border.RightStyle = BorderLineStyle.Solid;
			this.label23.Border.TopColor = Color.Black;
			this.label23.Border.TopStyle = BorderLineStyle.Solid;
			this.label23.Height = 0.2244094f;
			this.label23.HyperLink = null;
			this.label23.Left = 0.2283465f;
			this.label23.Name = "label23";
			this.label23.Style = "ddo-char-set: 163; text-align: center; font-weight: bold; background-color: #C0FFFF; font-size: 9pt; font-family: Arial; vertical-align: middle; ";
			this.label23.Text = "TT";
			this.label23.Top = 2.188976f;
			this.label23.Width = 0.3622047f;
			this.label27.Border.BottomColor = Color.Black;
			this.label27.Border.BottomStyle = BorderLineStyle.Solid;
			this.label27.Border.LeftColor = Color.Black;
			this.label27.Border.LeftStyle = BorderLineStyle.Solid;
			this.label27.Border.RightColor = Color.Black;
			this.label27.Border.RightStyle = BorderLineStyle.Solid;
			this.label27.Border.TopColor = Color.Black;
			this.label27.Border.TopStyle = BorderLineStyle.Solid;
			this.label27.Height = 0.2244094f;
			this.label27.HyperLink = null;
			this.label27.Left = 5.153667f;
			this.label27.Name = "label27";
			this.label27.Style = "ddo-char-set: 163; text-align: center; font-weight: bold; background-color: #C0FFFF; font-size: 9pt; font-family: Arial; vertical-align: middle; ";
			this.label27.Text = "Sl";
			this.label27.Top = 2.1875f;
			this.label27.Width = 0.4015748f;
			this.label25.Border.BottomColor = Color.Black;
			this.label25.Border.BottomStyle = BorderLineStyle.Solid;
			this.label25.Border.LeftColor = Color.Black;
			this.label25.Border.LeftStyle = BorderLineStyle.Solid;
			this.label25.Border.RightColor = Color.Black;
			this.label25.Border.RightStyle = BorderLineStyle.Solid;
			this.label25.Border.TopColor = Color.Black;
			this.label25.Border.TopStyle = BorderLineStyle.Solid;
			this.label25.Height = 0.2244094f;
			this.label25.HyperLink = null;
			this.label25.Left = 4.303833f;
			this.label25.Name = "label25";
			this.label25.Style = "ddo-char-set: 163; text-align: center; font-weight: bold; background-color: #C0FFFF; font-size: 9pt; font-family: Arial; vertical-align: middle; ";
			this.label25.Text = "ĐƠN VỊ TÍNH";
			this.label25.Top = 2.1875f;
			this.label25.Width = 0.8543308f;
			this.shape1.Border.BottomColor = Color.Black;
			this.shape1.Border.BottomStyle = BorderLineStyle.Solid;
			this.shape1.Border.LeftColor = Color.Black;
			this.shape1.Border.LeftStyle = BorderLineStyle.Solid;
			this.shape1.Border.RightColor = Color.Black;
			this.shape1.Border.RightStyle = BorderLineStyle.Solid;
			this.shape1.Border.TopColor = Color.Black;
			this.shape1.Border.TopStyle = BorderLineStyle.Solid;
			this.shape1.Height = 0.9583333f;
			this.shape1.Left = 0.2283465f;
			this.shape1.LineStyle = LineStyle.Transparent;
			this.shape1.LineWeight = 0f;
			this.shape1.Name = "shape1";
			this.shape1.RoundingRadius = 9.999999f;
			this.shape1.Top = 1.145915f;
			this.shape1.Width = 5.333333f;
			this.lblComName.Border.BottomColor = Color.Black;
			this.lblComName.Border.BottomStyle = BorderLineStyle.None;
			this.lblComName.Border.LeftColor = Color.Black;
			this.lblComName.Border.LeftStyle = BorderLineStyle.None;
			this.lblComName.Border.RightColor = Color.Black;
			this.lblComName.Border.RightStyle = BorderLineStyle.None;
			this.lblComName.Border.TopColor = Color.Black;
			this.lblComName.Border.TopStyle = BorderLineStyle.None;
			this.lblComName.Height = 0.1875f;
			this.lblComName.HyperLink = null;
			this.lblComName.Left = 0.2291667f;
			this.lblComName.Name = "lblComName";
			this.lblComName.Style = "ddo-char-set: 0; text-align: left; font-weight: bold; font-size: 9pt; vertical-align: middle; ";
			this.lblComName.Text = "-:-";
			this.lblComName.Top = 0.01041667f;
			this.lblComName.Width = 5.322917f;
			this.lblComAddress.Border.BottomColor = Color.Black;
			this.lblComAddress.Border.BottomStyle = BorderLineStyle.None;
			this.lblComAddress.Border.LeftColor = Color.Black;
			this.lblComAddress.Border.LeftStyle = BorderLineStyle.None;
			this.lblComAddress.Border.RightColor = Color.Black;
			this.lblComAddress.Border.RightStyle = BorderLineStyle.None;
			this.lblComAddress.Border.TopColor = Color.Black;
			this.lblComAddress.Border.TopStyle = BorderLineStyle.None;
			this.lblComAddress.Height = 0.1875f;
			this.lblComAddress.HyperLink = null;
			this.lblComAddress.Left = 0.2291667f;
			this.lblComAddress.Name = "lblComAddress";
			this.lblComAddress.Style = "ddo-char-set: 0; text-align: left; font-weight: normal; font-size: 9pt; vertical-align: middle; ";
			this.lblComAddress.Text = "-:-";
			this.lblComAddress.Top = 0.21875f;
			this.lblComAddress.Width = 5.322917f;
			this.lblComPhone.Border.BottomColor = Color.Black;
			this.lblComPhone.Border.BottomStyle = BorderLineStyle.None;
			this.lblComPhone.Border.LeftColor = Color.Black;
			this.lblComPhone.Border.LeftStyle = BorderLineStyle.None;
			this.lblComPhone.Border.RightColor = Color.Black;
			this.lblComPhone.Border.RightStyle = BorderLineStyle.None;
			this.lblComPhone.Border.TopColor = Color.Black;
			this.lblComPhone.Border.TopStyle = BorderLineStyle.None;
			this.lblComPhone.Height = 0.1875f;
			this.lblComPhone.HyperLink = null;
			this.lblComPhone.Left = 0.2291667f;
			this.lblComPhone.Name = "lblComPhone";
			this.lblComPhone.Style = "ddo-char-set: 0; text-align: left; font-weight: normal; font-size: 9pt; vertical-align: middle; ";
			this.lblComPhone.Text = "-:-";
			this.lblComPhone.Top = 0.4375f;
			this.lblComPhone.Width = 5.322917f;
			this.label3.Border.BottomColor = Color.Black;
			this.label3.Border.BottomStyle = BorderLineStyle.None;
			this.label3.Border.LeftColor = Color.Black;
			this.label3.Border.LeftStyle = BorderLineStyle.None;
			this.label3.Border.RightColor = Color.Black;
			this.label3.Border.RightStyle = BorderLineStyle.None;
			this.label3.Border.TopColor = Color.Black;
			this.label3.Border.TopStyle = BorderLineStyle.None;
			this.label3.Height = 0.25f;
			this.label3.HyperLink = null;
			this.label3.Left = 0.2291667f;
			this.label3.Name = "label3";
			this.label3.Style = "ddo-char-set: 0; text-align: center; font-weight: bold; font-size: 12.75pt; vertical-align: middle; ";
			this.label3.Text = "ĐƠN THUỐC";
			this.label3.Top = 0.7604167f;
			this.label3.Width = 5.322917f;
			this.label1.Border.BottomColor = Color.Black;
			this.label1.Border.BottomStyle = BorderLineStyle.None;
			this.label1.Border.LeftColor = Color.Black;
			this.label1.Border.LeftStyle = BorderLineStyle.None;
			this.label1.Border.RightColor = Color.Black;
			this.label1.Border.RightStyle = BorderLineStyle.None;
			this.label1.Border.TopColor = Color.Black;
			this.label1.Border.TopStyle = BorderLineStyle.None;
			this.label1.Height = 0.1889764f;
			this.label1.HyperLink = null;
			this.label1.Left = 0.3020833f;
			this.label1.Name = "label1";
			this.label1.Style = "ddo-char-set: 163; font-weight: bold; background-color: White; font-size: 9.75pt; ";
			this.label1.Text = "Thông tin chung";
			this.label1.Top = 1.052083f;
			this.label1.Width = 1.102362f;
			this.label2.Border.BottomColor = Color.Black;
			this.label2.Border.BottomStyle = BorderLineStyle.None;
			this.label2.Border.LeftColor = Color.Black;
			this.label2.Border.LeftStyle = BorderLineStyle.None;
			this.label2.Border.RightColor = Color.Black;
			this.label2.Border.RightStyle = BorderLineStyle.None;
			this.label2.Border.TopColor = Color.Black;
			this.label2.Border.TopStyle = BorderLineStyle.None;
			this.label2.Height = 0.1875f;
			this.label2.HyperLink = null;
			this.label2.Left = 0.2904364f;
			this.label2.Name = "label2";
			this.label2.Style = "text-align: right; background-color: White; ";
			this.label2.Text = "Họ và tên :  ";
			this.label2.Top = 1.365321f;
			this.label2.Width = 0.875f;
			this.lblProviderName.Border.BottomColor = Color.Black;
			this.lblProviderName.Border.BottomStyle = BorderLineStyle.None;
			this.lblProviderName.Border.LeftColor = Color.Black;
			this.lblProviderName.Border.LeftStyle = BorderLineStyle.None;
			this.lblProviderName.Border.RightColor = Color.Black;
			this.lblProviderName.Border.RightStyle = BorderLineStyle.None;
			this.lblProviderName.Border.TopColor = Color.Black;
			this.lblProviderName.Border.TopStyle = BorderLineStyle.None;
			this.lblProviderName.Height = 0.1875f;
			this.lblProviderName.HyperLink = null;
			this.lblProviderName.Left = 1.208334f;
			this.lblProviderName.Name = "lblProviderName";
			this.lblProviderName.Style = "background-color: White; ";
			this.lblProviderName.Text = "";
			this.lblProviderName.Top = 1.364583f;
			this.lblProviderName.Width = 2.052083f;
			this.label4.Border.BottomColor = Color.Black;
			this.label4.Border.BottomStyle = BorderLineStyle.None;
			this.label4.Border.LeftColor = Color.Black;
			this.label4.Border.LeftStyle = BorderLineStyle.None;
			this.label4.Border.RightColor = Color.Black;
			this.label4.Border.RightStyle = BorderLineStyle.None;
			this.label4.Border.TopColor = Color.Black;
			this.label4.Border.TopStyle = BorderLineStyle.None;
			this.label4.Height = 0.1889764f;
			this.label4.HyperLink = null;
			this.label4.Left = 3.323417f;
			this.label4.Name = "label4";
			this.label4.Style = "text-align: right; background-color: White; vertical-align: middle; ";
			this.label4.Text = "Cân nặng (Kg) : ";
			this.label4.Top = 1.594083f;
			this.label4.Width = 1.043307f;
			this.lblVolume.Border.BottomColor = Color.Black;
			this.lblVolume.Border.BottomStyle = BorderLineStyle.None;
			this.lblVolume.Border.LeftColor = Color.Black;
			this.lblVolume.Border.LeftStyle = BorderLineStyle.None;
			this.lblVolume.Border.RightColor = Color.Black;
			this.lblVolume.Border.RightStyle = BorderLineStyle.None;
			this.lblVolume.Border.TopColor = Color.Black;
			this.lblVolume.Border.TopStyle = BorderLineStyle.None;
			this.lblVolume.Height = 0.1889764f;
			this.lblVolume.HyperLink = null;
			this.lblVolume.Left = 4.405512f;
			this.lblVolume.Name = "lblVolume";
			this.lblVolume.Style = "background-color: White; ";
			this.lblVolume.Text = "";
			this.lblVolume.Top = 1.594488f;
			this.lblVolume.Width = 1.102362f;
			this.label6.Border.BottomColor = Color.Black;
			this.label6.Border.BottomStyle = BorderLineStyle.None;
			this.label6.Border.LeftColor = Color.Black;
			this.label6.Border.LeftStyle = BorderLineStyle.None;
			this.label6.Border.RightColor = Color.Black;
			this.label6.Border.RightStyle = BorderLineStyle.None;
			this.label6.Border.TopColor = Color.Black;
			this.label6.Border.TopStyle = BorderLineStyle.None;
			this.label6.Height = 0.1889764f;
			this.label6.HyperLink = null;
			this.label6.Left = 3.322917f;
			this.label6.Name = "label6";
			this.label6.Style = "text-align: right; background-color: White; ";
			this.label6.Text = "Tuổi (tháng) :  ";
			this.label6.Top = 1.364583f;
			this.label6.Width = 1.043307f;
			this.lblAge.Border.BottomColor = Color.Black;
			this.lblAge.Border.BottomStyle = BorderLineStyle.None;
			this.lblAge.Border.LeftColor = Color.Black;
			this.lblAge.Border.LeftStyle = BorderLineStyle.None;
			this.lblAge.Border.RightColor = Color.Black;
			this.lblAge.Border.RightStyle = BorderLineStyle.None;
			this.lblAge.Border.TopColor = Color.Black;
			this.lblAge.Border.TopStyle = BorderLineStyle.None;
			this.lblAge.Height = 0.1875f;
			this.lblAge.HyperLink = null;
			this.lblAge.Left = 4.40625f;
			this.lblAge.Name = "lblAge";
			this.lblAge.Style = "background-color: White; ";
			this.lblAge.Text = "";
			this.lblAge.Top = 1.364583f;
			this.lblAge.Width = 1.104167f;
			this.label7.Border.BottomColor = Color.Black;
			this.label7.Border.BottomStyle = BorderLineStyle.None;
			this.label7.Border.LeftColor = Color.Black;
			this.label7.Border.LeftStyle = BorderLineStyle.None;
			this.label7.Border.RightColor = Color.Black;
			this.label7.Border.RightStyle = BorderLineStyle.None;
			this.label7.Border.TopColor = Color.Black;
			this.label7.Border.TopStyle = BorderLineStyle.None;
			this.label7.Height = 0.1875f;
			this.label7.HyperLink = null;
			this.label7.Left = 0.2916667f;
			this.label7.Name = "label7";
			this.label7.Style = "text-align: right; background-color: White; ";
			this.label7.Text = "Địa chỉ :  ";
			this.label7.Top = 1.593749f;
			this.label7.Width = 0.875f;
			this.lvlProviderAddress.Border.BottomColor = Color.Black;
			this.lvlProviderAddress.Border.BottomStyle = BorderLineStyle.None;
			this.lvlProviderAddress.Border.LeftColor = Color.Black;
			this.lvlProviderAddress.Border.LeftStyle = BorderLineStyle.None;
			this.lvlProviderAddress.Border.RightColor = Color.Black;
			this.lvlProviderAddress.Border.RightStyle = BorderLineStyle.None;
			this.lvlProviderAddress.Border.TopColor = Color.Black;
			this.lvlProviderAddress.Border.TopStyle = BorderLineStyle.None;
			this.lvlProviderAddress.Height = 0.1889764f;
			this.lvlProviderAddress.HyperLink = null;
			this.lvlProviderAddress.Left = 1.208334f;
			this.lvlProviderAddress.Name = "lvlProviderAddress";
			this.lvlProviderAddress.Style = "background-color: White; ";
			this.lvlProviderAddress.Text = "";
			this.lvlProviderAddress.Top = 1.593749f;
			this.lvlProviderAddress.Width = 2.051181f;
			this.label8.Border.BottomColor = Color.Black;
			this.label8.Border.BottomStyle = BorderLineStyle.None;
			this.label8.Border.LeftColor = Color.Black;
			this.label8.Border.LeftStyle = BorderLineStyle.None;
			this.label8.Border.RightColor = Color.Black;
			this.label8.Border.RightStyle = BorderLineStyle.None;
			this.label8.Border.TopColor = Color.Black;
			this.label8.Border.TopStyle = BorderLineStyle.None;
			this.label8.Height = 0.1875f;
			this.label8.HyperLink = null;
			this.label8.Left = 0.2916667f;
			this.label8.Name = "label8";
			this.label8.Style = "text-align: right; background-color: White; ";
			this.label8.Text = "Chẩn đoán :  ";
			this.label8.Top = 1.833333f;
			this.label8.Width = 0.875f;
			this.lblDiagnosis.Border.BottomColor = Color.Black;
			this.lblDiagnosis.Border.BottomStyle = BorderLineStyle.None;
			this.lblDiagnosis.Border.LeftColor = Color.Black;
			this.lblDiagnosis.Border.LeftStyle = BorderLineStyle.None;
			this.lblDiagnosis.Border.RightColor = Color.Black;
			this.lblDiagnosis.Border.RightStyle = BorderLineStyle.None;
			this.lblDiagnosis.Border.TopColor = Color.Black;
			this.lblDiagnosis.Border.TopStyle = BorderLineStyle.None;
			this.lblDiagnosis.Height = 0.1875f;
			this.lblDiagnosis.HyperLink = null;
			this.lblDiagnosis.Left = 1.208334f;
			this.lblDiagnosis.Name = "lblDiagnosis";
			this.lblDiagnosis.Style = "background-color: White; ";
			this.lblDiagnosis.Text = "";
			this.lblDiagnosis.Top = 1.833333f;
			this.lblDiagnosis.Width = 4.302083f;
			this.detail.ColumnDirection = ColumnDirection.AcrossDown;
			this.detail.ColumnSpacing = 0f;
			this.detail.Controls.AddRange(new ARControl[]
			{
				this.line2,
				this.textBox1,
				this.textBox2,
				this.textBox3,
				this.textBox4,
				this.textBox5
			});
			this.detail.Height = 0.4330709f;
			this.detail.Name = "detail";
			this.line2.Border.BottomColor = Color.Black;
			this.line2.Border.BottomStyle = BorderLineStyle.None;
			this.line2.Border.LeftColor = Color.Black;
			this.line2.Border.LeftStyle = BorderLineStyle.None;
			this.line2.Border.RightColor = Color.Black;
			this.line2.Border.RightStyle = BorderLineStyle.None;
			this.line2.Border.TopColor = Color.Black;
			this.line2.Border.TopStyle = BorderLineStyle.None;
			this.line2.Height = 0.2195833f;
			this.line2.Left = 0.5953904f;
			this.line2.LineWeight = 1f;
			this.line2.Name = "line2";
			this.line2.Top = 0f;
			this.line2.Width = 0f;
			this.line2.X1 = 0.5953904f;
			this.line2.X2 = 0.5953904f;
			this.line2.Y1 = 0.2195833f;
			this.line2.Y2 = 0f;
			this.pageFooter.Height = 0f;
			this.pageFooter.Name = "pageFooter";
			this.reportHeader1.Controls.AddRange(new ARControl[]
			{
				this.lblComName,
				this.label23,
				this.label27,
				this.label25,
				this.shape1,
				this.label24,
				this.lblComAddress,
				this.lblComPhone,
				this.label3,
				this.label1,
				this.label2,
				this.lblProviderName,
				this.label4,
				this.lblVolume,
				this.label6,
				this.lblAge,
				this.label7,
				this.lvlProviderAddress,
				this.label8,
				this.lblDiagnosis
			});
			this.reportHeader1.Height = 2.42126f;
			this.reportHeader1.Name = "reportHeader1";
			this.reportFooter1.Controls.AddRange(new ARControl[]
			{
				this.lblDayMonthYear,
				this.label12,
				this.lblDoctorName,
				this.label15,
				this.label16,
				this.label17,
				this.label18
			});
			this.reportFooter1.Height = 1.541667f;
			this.reportFooter1.Name = "reportFooter1";
			this.lblDayMonthYear.Border.BottomColor = Color.Black;
			this.lblDayMonthYear.Border.BottomStyle = BorderLineStyle.None;
			this.lblDayMonthYear.Border.LeftColor = Color.Black;
			this.lblDayMonthYear.Border.LeftStyle = BorderLineStyle.None;
			this.lblDayMonthYear.Border.RightColor = Color.Black;
			this.lblDayMonthYear.Border.RightStyle = BorderLineStyle.None;
			this.lblDayMonthYear.Border.TopColor = Color.Black;
			this.lblDayMonthYear.Border.TopStyle = BorderLineStyle.None;
			this.lblDayMonthYear.Height = 0.1889764f;
			this.lblDayMonthYear.HyperLink = null;
			this.lblDayMonthYear.Left = 3.520833f;
			this.lblDayMonthYear.Name = "lblDayMonthYear";
			this.lblDayMonthYear.Style = "ddo-char-set: 1; text-align: center; font-weight: normal; background-color: White; font-size: 9.75pt; ";
			this.lblDayMonthYear.Text = "Thông tin chung";
			this.lblDayMonthYear.Top = 0.08333334f;
			this.lblDayMonthYear.Width = 1.779446f;
			this.label12.Border.BottomColor = Color.Black;
			this.label12.Border.BottomStyle = BorderLineStyle.None;
			this.label12.Border.LeftColor = Color.Black;
			this.label12.Border.LeftStyle = BorderLineStyle.None;
			this.label12.Border.RightColor = Color.Black;
			this.label12.Border.RightStyle = BorderLineStyle.None;
			this.label12.Border.TopColor = Color.Black;
			this.label12.Border.TopStyle = BorderLineStyle.None;
			this.label12.Height = 0.1889764f;
			this.label12.HyperLink = null;
			this.label12.Left = 3.520833f;
			this.label12.Name = "label12";
			this.label12.Style = "ddo-char-set: 163; text-align: center; font-weight: bold; background-color: White; font-size: 9.75pt; ";
			this.label12.Text = "Bác sĩ khám bệnh";
			this.label12.Top = 0.3348097f;
			this.label12.Width = 1.779446f;
			this.lblDoctorName.Border.BottomColor = Color.Black;
			this.lblDoctorName.Border.BottomStyle = BorderLineStyle.None;
			this.lblDoctorName.Border.LeftColor = Color.Black;
			this.lblDoctorName.Border.LeftStyle = BorderLineStyle.None;
			this.lblDoctorName.Border.RightColor = Color.Black;
			this.lblDoctorName.Border.RightStyle = BorderLineStyle.None;
			this.lblDoctorName.Border.TopColor = Color.Black;
			this.lblDoctorName.Border.TopStyle = BorderLineStyle.None;
			this.lblDoctorName.Height = 0.1889764f;
			this.lblDoctorName.HyperLink = null;
			this.lblDoctorName.Left = 3.519685f;
			this.lblDoctorName.Name = "lblDoctorName";
			this.lblDoctorName.Style = "ddo-char-set: 163; text-align: center; font-weight: bold; background-color: White; font-size: 9.75pt; ";
			this.lblDoctorName.Text = "";
			this.lblDoctorName.Top = 1.230397f;
			this.lblDoctorName.Width = 1.779446f;
			this.label15.Border.BottomColor = Color.Black;
			this.label15.Border.BottomStyle = BorderLineStyle.None;
			this.label15.Border.LeftColor = Color.Black;
			this.label15.Border.LeftStyle = BorderLineStyle.None;
			this.label15.Border.RightColor = Color.Black;
			this.label15.Border.RightStyle = BorderLineStyle.None;
			this.label15.Border.TopColor = Color.Black;
			this.label15.Border.TopStyle = BorderLineStyle.None;
			this.label15.Height = 0.1889764f;
			this.label15.HyperLink = null;
			this.label15.Left = 0.2755905f;
			this.label15.Name = "label15";
			this.label15.Style = "ddo-char-set: 163; text-align: left; font-weight: bold; background-color: White; font-size: 9.75pt; ";
			this.label15.Text = "Chú ý :";
			this.label15.Top = 0.09539042f;
			this.label15.Width = 1.779446f;
			this.label16.Border.BottomColor = Color.Black;
			this.label16.Border.BottomStyle = BorderLineStyle.None;
			this.label16.Border.LeftColor = Color.Black;
			this.label16.Border.LeftStyle = BorderLineStyle.None;
			this.label16.Border.RightColor = Color.Black;
			this.label16.Border.RightStyle = BorderLineStyle.None;
			this.label16.Border.TopColor = Color.Black;
			this.label16.Border.TopStyle = BorderLineStyle.None;
			this.label16.Height = 0.1889764f;
			this.label16.HyperLink = null;
			this.label16.Left = 0.2755905f;
			this.label16.Name = "label16";
			this.label16.Style = "ddo-char-set: 163; text-align: left; font-weight: bold; font-style: italic; background-color: White; font-size: 9.75pt; ";
			this.label16.Text = "Khám lại ngay sau 3 ngày nếu không đỡ";
			this.label16.Top = 0.3346457f;
			this.label16.Width = 2.748196f;
			this.label17.Border.BottomColor = Color.Black;
			this.label17.Border.BottomStyle = BorderLineStyle.None;
			this.label17.Border.LeftColor = Color.Black;
			this.label17.Border.LeftStyle = BorderLineStyle.None;
			this.label17.Border.RightColor = Color.Black;
			this.label17.Border.RightStyle = BorderLineStyle.None;
			this.label17.Border.TopColor = Color.Black;
			this.label17.Border.TopStyle = BorderLineStyle.None;
			this.label17.Height = 0.1889764f;
			this.label17.HyperLink = null;
			this.label17.Left = 0.2755905f;
			this.label17.Name = "label17";
			this.label17.Style = "ddo-char-set: 163; text-align: left; font-weight: bold; font-style: italic; background-color: White; font-size: 9.75pt; ";
			this.label17.Text = "Khám lại ngay nếu bệnh nặng thêm";
			this.label17.Top = 0.5284203f;
			this.label17.Width = 2.748196f;
			this.label18.Border.BottomColor = Color.Black;
			this.label18.Border.BottomStyle = BorderLineStyle.None;
			this.label18.Border.LeftColor = Color.Black;
			this.label18.Border.LeftStyle = BorderLineStyle.None;
			this.label18.Border.RightColor = Color.Black;
			this.label18.Border.RightStyle = BorderLineStyle.None;
			this.label18.Border.TopColor = Color.Black;
			this.label18.Border.TopStyle = BorderLineStyle.None;
			this.label18.Height = 0.1889764f;
			this.label18.HyperLink = null;
			this.label18.Left = 0.2755905f;
			this.label18.Name = "label18";
			this.label18.Style = "ddo-char-set: 163; text-align: left; font-weight: bold; font-style: italic; background-color: White; font-size: 9.75pt; ";
			this.label18.Text = "Khi khám lại nhớ mang theo đơn này !";
			this.label18.Top = 0.7221949f;
			this.label18.Width = 2.748196f;
			this.textBox1.Border.BottomColor = Color.Black;
			this.textBox1.Border.BottomStyle = BorderLineStyle.Solid;
			this.textBox1.Border.LeftColor = Color.Black;
			this.textBox1.Border.LeftStyle = BorderLineStyle.Solid;
			this.textBox1.Border.RightColor = Color.Black;
			this.textBox1.Border.RightStyle = BorderLineStyle.Solid;
			this.textBox1.Border.TopColor = Color.Black;
			this.textBox1.Border.TopStyle = BorderLineStyle.Solid;
			this.textBox1.DataField = "TT";
			this.textBox1.Height = 0.4409449f;
			this.textBox1.Left = 0.2283465f;
			this.textBox1.Name = "textBox1";
			this.textBox1.Style = "vertical-align: middle; ";
			this.textBox1.Top = 0f;
			this.textBox1.Width = 0.3622047f;
			this.textBox2.Border.BottomColor = Color.Black;
			this.textBox2.Border.BottomStyle = BorderLineStyle.Solid;
			this.textBox2.Border.LeftColor = Color.Black;
			this.textBox2.Border.LeftStyle = BorderLineStyle.Solid;
			this.textBox2.Border.RightColor = Color.Black;
			this.textBox2.Border.RightStyle = BorderLineStyle.Solid;
			this.textBox2.Border.TopColor = Color.Black;
			this.textBox2.Border.TopStyle = BorderLineStyle.Solid;
			this.textBox2.DataField = "ProductName";
			this.textBox2.Height = 0.2204724f;
			this.textBox2.Left = 0.5944882f;
			this.textBox2.Name = "textBox2";
			this.textBox2.Style = "vertical-align: middle; ";
			this.textBox2.Top = 0f;
			this.textBox2.Width = 3.708662f;
			this.textBox3.Border.BottomColor = Color.Black;
			this.textBox3.Border.BottomStyle = BorderLineStyle.Solid;
			this.textBox3.Border.LeftColor = Color.Black;
			this.textBox3.Border.LeftStyle = BorderLineStyle.Solid;
			this.textBox3.Border.RightColor = Color.Black;
			this.textBox3.Border.RightStyle = BorderLineStyle.Solid;
			this.textBox3.Border.TopColor = Color.Black;
			this.textBox3.Border.TopStyle = BorderLineStyle.Solid;
			this.textBox3.DataField = "Usage";
			this.textBox3.Height = 0.2204724f;
			this.textBox3.Left = 0.5944882f;
			this.textBox3.Name = "textBox3";
			this.textBox3.Style = "vertical-align: middle; ";
			this.textBox3.Top = 0.2204725f;
			this.textBox3.Width = 3.708662f;
			this.textBox4.Border.BottomColor = Color.Black;
			this.textBox4.Border.BottomStyle = BorderLineStyle.Solid;
			this.textBox4.Border.LeftColor = Color.Black;
			this.textBox4.Border.LeftStyle = BorderLineStyle.Solid;
			this.textBox4.Border.RightColor = Color.Black;
			this.textBox4.Border.RightStyle = BorderLineStyle.Solid;
			this.textBox4.Border.TopColor = Color.Black;
			this.textBox4.Border.TopStyle = BorderLineStyle.Solid;
			this.textBox4.DataField = "ProductUnit";
			this.textBox4.Height = 0.4409449f;
			this.textBox4.Left = 4.30315f;
			this.textBox4.Name = "textBox4";
			this.textBox4.Style = "vertical-align: middle; ";
			this.textBox4.Top = 0f;
			this.textBox4.Width = 0.8543308f;
			this.textBox5.Border.BottomColor = Color.Black;
			this.textBox5.Border.BottomStyle = BorderLineStyle.Solid;
			this.textBox5.Border.LeftColor = Color.Black;
			this.textBox5.Border.LeftStyle = BorderLineStyle.Solid;
			this.textBox5.Border.RightColor = Color.Black;
			this.textBox5.Border.RightStyle = BorderLineStyle.Solid;
			this.textBox5.Border.TopColor = Color.Black;
			this.textBox5.Border.TopStyle = BorderLineStyle.Solid;
			this.textBox5.DataField = "ProductNumber";
			this.textBox5.Height = 0.4409449f;
			this.textBox5.Left = 5.153543f;
			this.textBox5.Name = "textBox5";
			this.textBox5.Style = "vertical-align: middle; ";
			this.textBox5.Top = 0f;
			this.textBox5.Width = 0.4015748f;
			base.MasterReport = false;
			base.PageSettings.DefaultPaperSize = false;
			base.PageSettings.Margins.Bottom = 0.2f;
			base.PageSettings.Margins.Left = 0.03937008f;
			base.PageSettings.Margins.Right = 0.03937008f;
			base.PageSettings.Margins.Top = 0.2f;
			base.PageSettings.PaperHeight = 8.267716f;
			//base.PageSettings.PaperKind = 11;
			base.PageSettings.PaperWidth = 5.826772f;
			base.PrintWidth = 5.597917f;
			base.Sections.Add(this.reportHeader1);
			base.Sections.Add(this.pageHeader);
			base.Sections.Add(this.detail);
			base.Sections.Add(this.pageFooter);
			base.Sections.Add(this.reportFooter1);
			base.StyleSheet.Add(new StyleSheetRule("font-family: Arial; font-style: normal; text-decoration: none; font-weight: normal; font-size: 10pt; color: Black; ddo-char-set: 204; ", "Normal"));
			base.StyleSheet.Add(new StyleSheetRule("font-size: 16pt; font-weight: bold; ", "Heading1", "Normal"));
			base.StyleSheet.Add(new StyleSheetRule("font-family: Times New Roman; font-size: 14pt; font-weight: bold; font-style: italic; ", "Heading2", "Normal"));
			base.StyleSheet.Add(new StyleSheetRule("font-size: 13pt; font-weight: bold; ", "Heading3", "Normal"));
			base.PrintProgress += new EventHandler(this.frmOutputRetailBill_PrintProgress);
			((ISupportInitialize)this.label24).EndInit();
			((ISupportInitialize)this.label23).EndInit();
			((ISupportInitialize)this.label27).EndInit();
			((ISupportInitialize)this.label25).EndInit();
			((ISupportInitialize)this.lblComName).EndInit();
			((ISupportInitialize)this.lblComAddress).EndInit();
			((ISupportInitialize)this.lblComPhone).EndInit();
			((ISupportInitialize)this.label3).EndInit();
			((ISupportInitialize)this.label1).EndInit();
			((ISupportInitialize)this.label2).EndInit();
			((ISupportInitialize)this.lblProviderName).EndInit();
			((ISupportInitialize)this.label4).EndInit();
			((ISupportInitialize)this.lblVolume).EndInit();
			((ISupportInitialize)this.label6).EndInit();
			((ISupportInitialize)this.lblAge).EndInit();
			((ISupportInitialize)this.label7).EndInit();
			((ISupportInitialize)this.lvlProviderAddress).EndInit();
			((ISupportInitialize)this.label8).EndInit();
			((ISupportInitialize)this.lblDiagnosis).EndInit();
			((ISupportInitialize)this.lblDayMonthYear).EndInit();
			((ISupportInitialize)this.label12).EndInit();
			((ISupportInitialize)this.lblDoctorName).EndInit();
			((ISupportInitialize)this.label15).EndInit();
			((ISupportInitialize)this.label16).EndInit();
			((ISupportInitialize)this.label17).EndInit();
			((ISupportInitialize)this.label18).EndInit();
			((ISupportInitialize)this.textBox1).EndInit();
			((ISupportInitialize)this.textBox2).EndInit();
			((ISupportInitialize)this.textBox3).EndInit();
			((ISupportInitialize)this.textBox4).EndInit();
			((ISupportInitialize)this.textBox5).EndInit();
			((ISupportInitialize)this).EndInit();
		}
		public frmPrescriptionsBill()
		{
			this.InitializeComponent();
			try
			{
				frmPrescriptionsBill.objTable.Columns.Add("TT", typeof(int));
				frmPrescriptionsBill.objTable.Columns.Add("Usage", typeof(string));
			}
			catch
			{
			}
			for (int i = 0; i < frmPrescriptionsBill.objTable.Rows.Count; i++)
			{
				frmPrescriptionsBill.objTable.Rows[i]["TT"] = i + 1;
				frmPrescriptionsBill.objTable.Rows[i]["ProductName"] = "  " + frmPrescriptionsBill.objTable.Rows[i]["ProductName"];
				frmPrescriptionsBill.objTable.Rows[i]["Usage"] = "  " + this.objProduct.getUsage(frmPrescriptionsBill.objTable.Rows[i]["Pid"].ToString());
			}
			base.DataSource = frmPrescriptionsBill.objTable;
			this.lblDiagnosis.Text = frmPrescriptionsBill.Diagnosis;
			this.lblDoctorName.Text = frmPrescriptionsBill.DoctorName;
			this.lblDayMonthYear.Text = string.Concat(new string[]
			{
				"Ngày ",
				frmPrescriptionsBill.objDateBill.Day.ToString(),
				" tháng  ",
				frmPrescriptionsBill.objDateBill.Month.ToString(),
				" năm ",
				frmPrescriptionsBill.objDateBill.Year.ToString()
			});
			this.lblAge.Text = frmPrescriptionsBill.Age;
			this.lblVolume.Text = frmPrescriptionsBill.Volume;
			this.lblComName.Text = this.objFunc.getCompanyInfor("ComName").ToUpper();
			this.lblComAddress.Text = "Địa chỉ : " + this.objFunc.getCompanyInfor("ComAddress");
			this.lblComPhone.Text = "Điện thoại : " + this.objFunc.getCompanyInfor("ComPhone").ToUpper();
		}
		private void frmOutputRetailBill_PrintProgress(object sender, EventArgs e)
		{
		}
	}
}
